#include "operations.hh"

const char* operations[] =
  {
    "mean",
    "diff",
    NULL
  };

bool is_operation(std::string& s)
{
  int i = 0;

  while ((operations[i] != NULL) && (s.compare(operations[i]) != 0))
    {
      ++i;
    }

  return (operations[i] != NULL);
}
